module.export = app => {
  const mongoose = mongoose

  const ColumnSchema = new mongoose.Schema({
    title: {
      type: String,
      unique: true,
      required: true
    },
    createTime: {
      type: Date,
      unique: true,
      required: true
    },
    createRen: {
      type: String,
      unqiue: true,
      required: true
    }
  })
  return mongoose.model('column', ColumnSchema)
}